export const basicRoutes = [
  {
    name: 'Login',
    path: '/login',
    component: () => import('@/views/login/index.vue'),
    meta: {
      title: '登录页',
      layout: 'empty',
    },
  },

  {
    name: 'Home',
    path: '/',
    component: () => import('@/views/home/index.vue'),
    meta: {
      title: '首页',
    },
  },
  {
    name: '404',
    path: '/404',
    component: () => import('@/views/error-page/404.vue'),
    meta: {
      title: '页面飞走了',
      layout: 'empty',
    },
  },

  {
    name: '403',
    path: '/403',
    component: () => import('@/views/error-page/403.vue'),
    meta: {
      title: '没有权限',
      layout: 'empty',
    },
  },
]

export const beforeRoutes = [{
  code: 'Resource_Mgt2',
  component: '/src/views/pms/resource/index.vue',
  description: null,
  enable: true,
  icon: 'i-fe:trello',
  id: 1111,
  keepAlive: null,
  layout: null,
  method: null,
  name: '菜单管理',
  order: 111,
  parentId: 0,
  path: '/pms/resource2',
  redirect: null,
  show: true,
  type: 'MENU',
}]
